package top.mingtea.propertymannagement.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.mingtea.propertymannagement.pojo.Building;

import java.util.List;

@Mapper
public interface BuildingMapper {
    List<Building> getAll();

    void add(Building building);

    void remove(int building_id);

    void update(Building building);
}
